import { request } from '@/utils/request.js'

// 获取视频详情
export function getVideoDetail(id) {
	return request('GET',`/video/detail?id=${id}`)
}

// 获取视频播放链接
export function getVideoUrl(id) {
	return request('GET',`/video/url?id=${id}`)
}

// 获取MV详情
export function getMVDetail(id) {
	return request('GET',`/mv/detail?mvid=${id}`)
}

// 获取MV播放链接
export function getMVUrl(id) {
	return request('GET',`/mv/url?id=${id}`)
}
